<script type="text/javascript" language="javascript" src="/gaf/js/common.js"></script>
<link rel="stylesheet" type="text/css" href="/gaf/css/base.css" />
<link rel="stylesheet" type="text/css" href="/gaf/css/common.css" />
<link rel="stylesheet" type="text/css" href="/gaf/css/table_def.css" />
<p>酒店管理/修改客房信息</p>
<?php require_once('views/msg.phtml');?>
<form action="/hotel/hotel/editroom">
	<input type="hidden" id="hotelid" name="hotelid" value="<?php echo $this->room['hotelid'];?>">
	<input type="hidden" id="id" name="id" value="<?php echo $this->room['id'];?>">
	<table>
		房间类型:<select id="roomtype" name="roomtype">
			<option <?php if($this->room['roomtype']==0) echo "selected";?> value="0">标准间</option>
			<option <?php if($this->room['roomtype']==1) echo "selected";?> value="1">双人间</option>
			<option <?php if($this->room['roomtype']==2) echo "selected";?> value="2">三人间</option>
			<option <?php if($this->room['roomtype']==3) echo "selected";?> value="3">其他</option>							
		</select>
		价格类型:<select id="pricetype" name="pricetype">
			<option <?php if($this->room['pricetype']==0) echo "selected";?> value="0">门市价</option>
			<option <?php if($this->room['pricetype']==1) echo "selected";?> value="1">会员价</option>
			<option <?php if($this->room['pricetype']==2) echo "selected";?> value="2">持卡价</option>								
		</select>
		</td></tr><tr><td>
		房间价格:<input type="text" id="price" name="price" size="20" value="<?php echo $this->room['price'];?>"/> 元
		房间数量:<input type="text" id="roomnum" name="roomnum" size="20" value="<?php echo $this->room['roomnum'];?>"/> 间
		</td></tr>
	</table>
	<p>客房详细描述:</p>
	<p><textarea  title="客房详细描述" id="roomdetail" name="roomdetail" style="overflow:scroll;height:100;width:400"><?php echo $this->room['memo']?></textarea></p>
	<input type="submit" value="确认">
	</form>